<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $this->ur_here;?></title>
<meta name="robots" content="noindex, nofollow">
<meta name="Pragma"   content="no-cache">    
<meta http-equiv="Cache-Control"   content="no-cache">    
<meta http-equiv="Expires"   content="0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
.pageheader {
	float: left;
	width: 97%;
	height: 30px;
	border-bottom: 1px solid #999;
	margin-bottom: 10px;
	padding: 5px 10px 0;
}
.pageheader  .action-span1 {
  float:left;
  margin-top:2px;
  font-size: 14px;
  font-weight: bolder;
  line-height: 30px;
}
.list-div {
	text-align:left;
	float:left;
	/*width: auto; edit by taojun 2010-10-25 19:45*/
  background: #c8c8c8;
	border: 1px solid #c8c8c8;
	width:100%;
	padding: 0px;
	margin-top: 4px;
	margin-right: 0px;
	margin-bottom: 14px;
	margin-left: 4px;
}
.list-div table {
  width: 100%;
}.list-div th {
	line-height: 24px;
	color:#435c74;
	text-align:center;
	text-indent: 10px;
	background:url(../images/back_table_th.gif) top left repeat-x;
	word-break:keep-all;
	white-space: nowrap;
}

.list-div th a{
	font-size:12px;
	color:#435c74;
}

.list-div th a:hover{
	font-size:12px;
	color:#666;
}

.list-div td {
  background: #fff;
  line-height: 22px;
  text-indent: 10px;
  word-break:keep-all;
  white-space: nowrap;
}

.list-div td.first-cell{
  font-weight: bold;
  padding-left: 10px;
}
.list-div a:visited, .list-div a:link {
  text-decoration: underline;
  color: #666666;
}

.list-div a:hover {
  color:#435c74;
}

.list-div th a:visited, .list-div th a:link {
  text-decoration: underline;
  color: #435c74;
  margin-right:5px;
}

.list-div th a:hover {
  color: #666666;
  margin-right:5px;
}

ul.msg-link {
  list-style-type: none;
}


</style>
</head>
<body> 
 
<div class="pageheader">
<span class="action-span1"><?php echo $this->ur_here;?></span>
</div>
 


<div class="list-div">
  <div style="background:#FFF;padding: 20px 50px;margin: 2px;">
    <table align="center" width="400">
      <tr>
        <td width="50" valign="top">
		  <?php if ($this->msg_type==0) : ?>
          <img src="/files/common/images/information.gif" width="48" height="48" border="0" alt="information" />
          <?php elseif ($this->msg_type==1): ?>
          <img src="/files/common/images/warning.gif" width="32" height="32" border="0" alt="warning" />
          <?php else: ?>
          <img src="/files/common/images/confirm.gif" width="32" height="32" border="0" alt="confirm" />
          <?php endif; ?>
        </td>
        <td style="font-size: 14px; font-weight: bold"><?php echo $this->msg_detail;?></td>
      </tr>
      <tr>
        <td></td>
        <td id="redirectionMsg">
		  <?php if($this->auto_redirect){echo '';} ?>
        </td>
      </tr>
      <tr>
        <td></td>
        <td>
          <ul style="margin:0; padding:0 10px" class="msg-link">
			<?php foreach ($this->links as $link):?>
            <li><a href="<?php echo $link['href']?>" <?php if (isset($link['target'])):?>target="<?php echo $link['target']?>"<?php endif;?> style="font-size:12px"><?php echo $link['text']?></a></li>
			<?php endforeach;?>
          </ul>
        </td>
      </tr>
    </table>
  </div>
</div> 
<?php if ($this->auto_redirect) :?>
<script type="text/javascript">
<!--
var seconds = 3;
var defaultUrl = "<?php echo $this->default_url;?>";

onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }

  window.setInterval(redirection, 1000);
}
function redirection()
{
  try {
	  if (seconds <= 0)
	  {
	    window.clearInterval();
	    return;
	  }
	
	  seconds --;
	  document.getElementById('spanSeconds').innerHTML = seconds;
	
	  if (seconds == 0)
	  {
	    window.clearInterval();
	    location.href = defaultUrl;
	  }
  } catch(e) {
  }
}
</script>
<?php endif;?>